package com.lilinling.yinzhi.demand.vo;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
public class AddDemandVo implements Serializable {
    private  static final long serialVersionUID = 1L;

    /**
     * 需求标题
     */
    @NotBlank(message = "标题不能为空")
    private String demTitle;
    /**
     * 需求详情
     */
    @NotBlank(message = "详情不能为空")
    private String demDesc;
    /**
     * 预算
     */
    @NotNull(message = "预算不能为空")
    private BigDecimal price;

}
